Previous Book Contents Book Index Next

Inside Macintosh: Open Transport /
Chapter 3 - Endpoints / Endpoints Reference
Constants and Data Types


OTData Constant

When transferring data that is noncontiguous, you need to use an OTData buffer instead of the TNetbuf structure. Open Transport provides a constant that you can use when you send or receive data to indicate that the value in the TNetbuf structure is actually a pointer to an OTData buffer.

enum {
   kNetbufDataIsOTData= (size_t)0xfffffffeU
};

Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 AUG 1996